package ss.pku.jsa.type.inference;

import org.eclipse.jdt.core.dom.ASTVisitor;
import org.eclipse.jdt.core.dom.CompilationUnit;
import org.eclipse.jdt.core.dom.IMethodBinding;
import org.eclipse.jdt.core.dom.MethodDeclaration;

public class TestVisitor extends ASTVisitor {
	// private Analysis analysis;
	// private CompilationUnit compilationUnit;
	// private String fileName;

	public TestVisitor(CompilationUnit compilationUnit, String fileName,
			Analysis analysis) {
		// this.analysis = analysis;
		// this.compilationUnit = compilationUnit;
		// this.fileName = fileName;
	}

	public boolean visit(MethodDeclaration node) {
		IMethodBinding m = node.resolveBinding();
		JqualPlugin.out.println(new FFIResults.JNIMethodName(m));
		return false;
	}
}
